﻿<%@ Page Title="" Language="C#" MasterPageFile="~/main.master" AutoEventWireup="true" CodeFile="sepetOnay.aspx.cs" Inherits="sepetOnay" %>
<%--Sepet onay sayfası(adresini seçecek, notunu yazacak, ödeme tipini seçecek, sepeti düzenleyebiliyor)--%>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .style10
        {
            width: 100%;
        }
        .style11
        {
            width: 71px;
        }
        .style12
        {
            width: 58px;
        }
        .style13
        {
        }
        .style16
        {
            height: 23px;
        }
        .style17
        {
            width: 122px;
        }
        .style18
        {
            height: 23px;
            width: 122px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table>
<tr>
<td> <asp:DataList OnItemCommand="DataList2_ItemCommand" ID="DataList2" runat="server" 
        BackColor="#DEBA84" BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px" 
        CellPadding="3" CellSpacing="2" GridLines="Both" RepeatColumns="3">
        <FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
        <ItemStyle BackColor="#FFF7E7" ForeColor="#8C4510" />
        <SelectedItemStyle BackColor="#738A9C" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#A55129" Font-Bold="True" ForeColor="White" />
        <ItemTemplate>
            <table class="style10">
                <tr>
                    <td class="style11">
                        <asp:Label ID="lblAdres" runat="server" Text='<%# Eval("Adresi") %>'></asp:Label>
                    </td>
                    <td class="style12">
                        <asp:Label ID="lblTarif" runat="server" Text='<%# Eval("Tarifi") %>'></asp:Label>
                    </td>
                    <td>
                        <asp:Label ID="lblTelefon" runat="server" Text='<%# Eval("Telefonu") %>'></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="style13" colspan="3">
                        <asp:LinkButton ID="LinkButton2" runat="server" 
                            CommandName="AdresSec">Adres 
                        Seç</asp:LinkButton>
                    </td>
                </tr>
            </table>
            <br />
            <br />
        </ItemTemplate>
    </asp:DataList></td>
</tr>

<tr>
<td class="style16">Yeni Aders Ekle<br />
    <table class="style10">
        <tr>
            <td class="style17">
                Adres:</td>
            <td>
                <asp:TextBox ID="txtAdres" runat="server" Height="91px" Width="346px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style17">
                İlçe:</td>
            <td>
                <asp:DropDownList ID="drpIlce" runat="server" Height="16px" Width="253px">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td class="style18">
                Tarif:</td>
            <td class="style16">
                <asp:TextBox ID="txtTarif" runat="server" Height="91px" Width="346px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style18">
                Telefon:</td>
            <td class="style16">
                <asp:TextBox ID="txtTelefon" runat="server" Width="260px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style17">
                &nbsp;</td>
            <td>
                <asp:LinkButton ID="btnEkle" runat="server" onclick="btnEkle_Click">EKLE</asp:LinkButton>
            </td>
        </tr>
    </table>
    <br />
    <br />
    <asp:LinkButton ID="LinkButton4" runat="server" onclick="LinkButton4_Click">Sepeti Onayla</asp:LinkButton>
    <br />
    </td>
</tr>
</table>
   
</asp:Content>

